Skip to content

Comments

CASSSIDECAR-411: RangeManager should be singleton in CDCModule#323

Merged
jyothsnakonisa merged 6 commits intoapache:trunkfrom
jyothsnakonisa:cdc
Feb 23, 2026
Merged

CASSSIDECAR-411: RangeManager should be singleton in CDCModule#323
jyothsnakonisa merged 6 commits intoapache:trunkfrom
jyothsnakonisa:cdc

Conversation

@jyothsnakonisa
Copy link
Contributor

No description provided.

Copy link
Contributor

@bbotella bbotella left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Good catch!

Copy link
Contributor

@yifan-c yifan-c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fixed the test failures

Copy link

@jmckenzie-dev jmckenzie-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit on casing and question re: scoping; all things that can be resolved by author during commit, aren't a big deal, or we could follow up on a subsequent commit so we can get this change in.

CHANGES.txt Outdated
@@ -1,5 +1,6 @@
0.3.0
-----
* Rangemanager should be singleton in CDCModule (CASSSIDECAR-411)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super nit: RangeManager to match casing on class name. 😅

}

protected DnsResolver mockDnsResolver()
public static DnsResolver mockDnsResolver()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the increase in scope from private to public? I don't see any new consumers in the PR...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am reusing these helper methods in TestModule to fix failing tests.

}

private Metadata getMetadata()
public static Metadata getMetadata()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above - purpose of scope promotion? If intentional we should either annotated @VisibleForTesting or javadoc it w/@link so subsequent refactors pull this in / break / make noise in an obvious way.

@jyothsnakonisa jyothsnakonisa changed the title CASSSIDECAR-411: Rangemanager should be singleton in CDCModule CASSSIDECAR-411: RangeManager should be singleton in CDCModule Feb 23, 2026
@jyothsnakonisa jyothsnakonisa merged commit 66e668f into apache:trunk Feb 23, 2026
41 of 42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants